home *** CD-ROM | disk | FTP | other *** search
/ Aminet 4 / Aminet 4 - November 1994.iso / aminet / comm / net / dnet2_10_13.lha / DNet / Amiga / Sourcen.lha / lib / dnaaccept.c < prev    next >
C/C++ Source or Header  |  1993-01-14  |  357b  |  22 lines

  1.  
  2. /*
  3.  *  DNAAccept.C
  4.  */
  5.  
  6. #include "lib.h"
  7.  
  8. int
  9. DNAAccept(lisport)
  10. PORT *lisport;
  11. {
  12.     IOSTD *ior;
  13.  
  14.     if (ior = (IOSTD *)GetMsg(lisport)) {
  15.     ior->io_Error = 1;
  16.     ReplyMsg((MSG *)ior);
  17.     }
  18.     if (lisport->mp_MsgList.lh_Head != (NODE *)&lisport->mp_MsgList.lh_Tail)
  19.     SetSignal(1 << lisport->mp_SigBit, 1 << lisport->mp_SigBit);
  20.     return(ior != NULL);
  21. }
  22.